if (local user1) then

	{
	deletemarkerlocal "cameralibre";
	// sauvegarde position
	_sauvX = getpos user1 select 0;
	_sauvY = getpos user1 select 1;
	//tel
	user1 setcaptive true ;
	user1 setPos [camera_x, camera_y,0];
	sleep 0.2 ;
	user1 exec "camera.sqs";
	sleep 0.2 ;
	user1 setPos [_sauvX, _sauvY,0];
	user1 setcaptive false ;
	camera_spawn = false ;
	publicvariable "camera_spawn";
	
	cameralibrex = createMarkerLocal ["cameralibre",[(camera_x), (camera_y),0]] ;  
	cameralibrex setMarkerShapeLocal "ICON" ; 
	"cameralibre" setMarkerTypeLocal "dot";
	"cameralibre" setMarkerSizeLocal [0.50, 0.50];
	"cameralibre" setMarkerColorLocal "ColorBlack";
	"cameralibre" setMarkerTextLocal "Camera";
	};
	
if (local usere1) then

	{
	deletemarkerlocal "cameralibre";
	// sauvegarde position
	_sauvX = getpos usere1 select 0;
	_sauvY = getpos usere1 select 1;
	//tel
	usere1 setcaptive true ;
	usere1 setPos [camera_x, camera_y,0];
	sleep 0.2 ;
	usere1 exec "camera.sqs";
	sleep 0.2 ;
	usere1 setPos [_sauvX, _sauvY,0];
	usere1 setcaptive false ;
	camera_spawn = false ;
	publicvariable "camera_spawn";
	
	cameralibrex = createMarkerLocal ["cameralibre",[(camera_x), (camera_y),0]] ;  
	cameralibrex setMarkerShapeLocal "ICON" ; 
	"cameralibre" setMarkerTypeLocal "dot";
	"cameralibre" setMarkerSizeLocal [0.50, 0.50];
	"cameralibre" setMarkerColorLocal "ColorBlack";
	"cameralibre" setMarkerTextLocal "Camera";
	};
	
if (local useri1) then

	{
	deletemarkerlocal "cameralibre";
	// sauvegarde position
	_sauvX = getpos useri1 select 0;
	_sauvY = getpos useri1 select 1;
	//tel
	useri1 setcaptive true ;
	useri1 setPos [camera_x, camera_y,0];
	sleep 0.2 ;
	useri1 exec "camera.sqs";
	sleep 0.2 ;
	useri1 setPos [_sauvX, _sauvY,0];
	useri1 setcaptive false ;
	camera_spawn = false ;
	publicvariable "camera_spawn";
	
	cameralibrex = createMarkerLocal ["cameralibre",[(camera_x), (camera_y),0]] ;  
	cameralibrex setMarkerShapeLocal "ICON" ; 
	"cameralibre" setMarkerTypeLocal "dot";
	"cameralibre" setMarkerSizeLocal [0.50, 0.50];
	"cameralibre" setMarkerColorLocal "ColorBlack";
	"cameralibre" setMarkerTextLocal "Camera";
	};
	if (true) exitWith {};